package entity

import (
	pb "app/services/hello/proto"
)
type ISay interface {
	Hello(*pb.Request) (*pb.Response,error)
}

type Say struct {

}

func (s *Say) Hello(req *pb.Request) (*pb.Response, error) {
	name := req.Name
	return &pb.Response{Msg:"你好："+name}, nil
}
